package com.lxl.bt.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * Create by lvxinlong  229608356@qq.com
 * desc
 * on
 **/
public class DustbinTypeBody implements Serializable {
    public int totalCount;
    public int totalPage;
    private List<ResultBean> result;

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable, IPickerViewData {
        /**
         * areaId : 5cdc06d5834244a99dea61c294824ce8
         * areaName : 南湖区
         * watseTypeDataList : [{"watseType":6,"watseTypeName":"纸板、纸箱"},{"watseType":7,"watseTypeName":"书本"},{"watseType":8,"watseTypeName":"报纸"},{"watseType":9,"watseTypeName":"铁皮"},{"watseType":10,"watseTypeName":"护栏管道"}]
         */

        private String areaId;
        private String areaName;
        private List<WatseTypeDataListBean> watseTypeDataList;

        public String getAreaId() {
            return areaId;
        }

        public void setAreaId(String areaId) {
            this.areaId = areaId;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public List<WatseTypeDataListBean> getWatseTypeDataList() {
            return watseTypeDataList;
        }

        public void setWatseTypeDataList(List<WatseTypeDataListBean> watseTypeDataList) {
            this.watseTypeDataList = watseTypeDataList;
        }

        @Override
        public String getPickerViewText() {
            return areaName;
        }

        public static class WatseTypeDataListBean implements Serializable, IPickerViewData{
            /**
             * watseType : 6
             * watseTypeName : 纸板、纸箱
             */

            private int watseType;
            private String watseTypeName;

            public int getWatseType() {
                return watseType;
            }

            public void setWatseType(int watseType) {
                this.watseType = watseType;
            }

            public String getWatseTypeName() {
                return watseTypeName;
            }

            public void setWatseTypeName(String watseTypeName) {
                this.watseTypeName = watseTypeName;
            }

            @Override
            public String getPickerViewText() {
                return watseTypeName;
            }
        }
    }
}
